﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameProtocol.Protocol
{
    /// <summary>
    /// 登录模块对应的协议号：二级协议（命令号）
    /// </summary>
    public class LoginProtocol
    {
        //C2S 客户端请求

        //S2C 服务器返回

        //BRO 服务器广播

        //注册账号
        public const short C2S_Register = 1;
        public const short S2C_Register = 2;

        //登录账号
        public const short C2S_Login = 3;
        public const short S2C_Login = 4;

        //创建角色
        public const short C2S_CreateUser = 5;

    }
}
